using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using System.Net.Http;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.AspNetCore.Components.Forms;
using Microsoft.AspNetCore.Components.Routing;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.Web.Virtualization;
using Microsoft.JSInterop;
using Auto.Web.Entry;
using Auto.Web.Entry.Shared;
using Auto.Application;
using BootstrapBlazor.Components;
using AutoCommunication.Base;

namespace Auto.Web.Entry.Pages
{
    public partial class Index
    {
        public List<AutoCommunication.Clients.ModbusTcpClient> MyProperty { get; set; }
        protected override void OnInitialized()
        {

            var list = new List<AutoCommunication.Clients.ModbusTcpClient>();
            list.Add(new AutoCommunication.Clients.ModbusTcpClient());
            list.Add(new AutoCommunication.Clients.ModbusTcpClient());
            list.Add(new AutoCommunication.Clients.ModbusTcpClient());
            MyProperty=list;
            base.OnInitialized();
        }
    }
    
}